package com.plian.system.service.pf;

import com.plian.system.entity.pf.BaseDeputyDifferent;
import com.plian.system.model.ListResult;
import com.plian.system.model.R;
import com.plian.system.mybatis.base.BaseService;
import com.plian.system.mybatis.support.Query;
import com.plian.system.vo.pf.BaseDeputyDifferentVO;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;
import java.util.Map;

public interface IBaseDeputyDifferentService extends BaseService<BaseDeputyDifferent> {

    boolean submit(BaseDeputyDifferent baseDeputyDifferent);

    R<BaseDeputyDifferentVO> getDetailObj(BaseDeputyDifferent baseDeputyDifferent);

    ListResult<BaseDeputyDifferentVO> list(@RequestBody Query query);

    /**
     * @Description: //TODO 根据时间区间获取详情
     * @Author: Take-off
     * @Date: 4:55 PM 2023/3/10
     * @Param: [officeYearStart, officeYearEnd]
     * @return: java.util.List<java.util.Map<java.lang.String,java.lang.Object>>
     **/
    List<Map<String,Object>> getMapDetails(String officeYearStart, String officeYearEnd);
}
